]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st/test-theme: Use the gsettings memory backend
authorSebastian Wick <sebastian.wick@redhat.com>
Wed, 8 Feb 2023 15:36:06 +0000 (16:36 +0100)
committerSebastian Wick <sebastian.wick@redhat.com>
Wed, 8 Feb 2023 15:48:35 +0000 (16:48 +0100)
Mutter test context now make sure that they are run with the gsettings
memory backend to avoid the local environment to affect the tests.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2628>

src/st/meson.build

index 1ae9653b3d86d3de46e9ae3525808d0e93a6a844..061c5adf2997e22c19c3d9955d7a048d41f30927 100644 (file)
@@ -204,7 +204,8 @@ if get_option('tests')
   )
 
   test('CSS styling support', test_theme,
-    workdir: meson.current_source_dir()
+    workdir: meson.current_source_dir(),
+    env: ['GSETTINGS_BACKEND=memory']
   )
 endif